The Pen tool

The Pen tool  lets you build Bezier paths by placing a series of anchor points (sometimes called "nodes") and control handles (or "tangent handles"). Each segment on the path consists of the two anchor points on either side of the path segment and the two control handles . Both the lengths and directions of the control handles affect the shape of a Bezier curve.

A curve point on a Bezier path has visible control handles. A corner point has control handles that are fully retracted to the same position as the anchor point itself (so you can't see them). A cusp point has either one control handle fully retracted or has two control handles, but they act independently of each other. For more information about turning one type of point into another, see Corners vs. curves.

Curve point (top), corner point (middle), and cusp point (bottom)

Once you have the Pen tool selected in the Toolbox, you can start creating anchor points by performing one of these actions:

For all anchor points except the starting point, you can hold down the SHIFT key while clicking or dragging to constrain the new anchor point or its handles to a 45- or 90-degree angle from the previous anchor point. (The actual angle is determined by the Rotation steps setting in the Units and Grids panel of the Options dialog box .)

Tip: You can remove the last anchor point you added by pressing the DELETE or Backspace key.

To end the path (stop drawing), do one of the following:

As you draw, you will not be able to see the path from the previous anchor point to the anchor point you're about to create until you actually click or click and drag.

Appending paths

When the Drawing tools append to path option is selected in the Stroke panel of the Options dialog box, you can easily extend an already-existing path with the Pen tool by placing the cursor over the beginning or end point of the line and then drawing. Or, you can draw a new path with the Pen tool and position the cursor over one of the open nodes of a path as you release the mouse button. In this case, the new path will be joined with the old one.

Adding and removing points

When you have the Pen tool selected and you place the cursor over an anchor point in a selected path, the cursor temporarily changes to the Delete Anchor Point tool. If you click, it will remove that point from the path. Similarly, if you place the Pen tool over a segment of a selected path, it temporarily changes to the Add Anchor Point tool, and clicking will add a point at that position. For more information, see Adding and removing anchor points.